package ruifight.member.service;

import com.github.pagehelper.PageInfo;
import ruifight.member.model.NoticeInfo;
import ruifight.member.model.NoticeInfoExample;
import ruifight.member.service.base.BaseService;

import java.util.List;
import java.util.Map;

public interface NoticeInfoService extends BaseService<NoticeInfo, NoticeInfoExample, Long> {

    /**
     * 获取通知列表
     * @param paramMap
     * @return
     */
    public PageInfo<Map<String, Object>> getNoticeInfoList(int cur_page, int page_size, Map<String, Object> paramMap);
    /**
     * 获取最后一条通知
     * @return
     */
	public NoticeInfo getLastNoticeInfo();
}
